<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="referrer" content="no-referrer"/>
	<link rel="stylesheet" type="text/css" href="/css/search.css">
	<link rel="stylesheet" type="text/css" href="../static/css/search.css">
	<title> 通用播放页</title>
</head>
<style>
	*{
		padding: 0;
		margin: 0;
	}
</style>
<script src="/js/Util.js"></script>
<script src="../static/js/Util.js"></script>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<body style="background-color: #14161a">
<iframe style="width: 100%;" th:src="@{'/player?url='+${url}}" id="iframe" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</body>
<script type="text/javascript">
	var iframe = document.getElementById("iframe");
	var width = iframe.clientWidth;
	iframe.setAttribute("height",width/16*9);
	function a(){
		console.log("fromChild");
	}
</script>
</html>